package com.ruoyi.system.domain.vo;

import java.io.Serializable;

public class UserPost implements Serializable {

    private static final long serialVersionUID = 1027619183927896584L;

    private Long postId;
    private String postName;

    public UserPost(Long postId, String postName) {
        this.postId = postId;
        this.postName = postName;
    }

    public UserPost() {
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public Long getPostId() {
        return postId;
    }

    public void setPostId(Long postId) {
        this.postId = postId;
    }

    @Override
    public String toString() {
        return "UserPost{" +
                "postId=" + postId +
                ", postName='" + postName + '\'' +
                '}';
    }
}
